<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><div class="bg pad15">
    <div class="title"><a href="<?php echo $CATEGORYS['2']['url'];?>">更多</a><h2>推荐产品</h2></div>
    <div id="rzt_box">
        <ul class="pinglun" id="rzt_box1">
            <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=05edab723a329e3b1905629367c0c233&action=lists&catid=2&moreinfo=1&order=rand%28%29&num=8\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'2','moreinfo'=>'1','order'=>'rand()','limit'=>'8',));}?>
            <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
            <li>
                <a href="<?php echo $r['url'];?>">
                    <div class="tx"><img src="<?php echo $r['thumb'];?>" width="120" height="100" /></div>
                    <div class="pl">
                        <h2><?php echo str_cut($r[title],50);?></h2>
                        <p>
                            <?php echo str_cut(strip_tags($r[content]),150);?>
                        </p>
                        <h3><span><?php echo date("Y-m-d",$r[updatetime]);?></span> </h3>
                    </div>
                </a>
                <div style="clear:both;"></div>

            </li>
            <?php $n++;}unset($n); ?>
            <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
        </ul>
        <ul class="pinglun" id="rzt_box2">
            <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=964ff1c5003e522fd34a45748efc775e&action=lists&catid=1&moreinfo=1&order=rand%28%29&num=8\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'1','moreinfo'=>'1','order'=>'rand()','limit'=>'8',));}?>
            <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
            <li>
                <a href="<?php echo $r['url'];?>">
                    <div class="tx"><img src="<?php echo $r['thumb'];?>" width="120" height="100" /></div>
                    <div class="pl">
                        <h2><?php echo str_cut($r[title],50);?></h2>
                        <p>
                            <?php echo str_cut(strip_tags($r[content]),150);?>
                        </p>
                        <h3><span><?php echo date("Y-m-d",$r[updatetime]);?></span> </h3>
                    </div>
                </a>
                <div style="clear:both;"></div>

            </li>
            <?php $n++;}unset($n); ?>
            <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
        </ul>
    </div>
</div>